package com.sunshine.ssm.test.classTest;

/**
 * @Author: WeiHong
 * @Date: 2017/4/27 15:38
 */
public class Holder3<T> {

    private T a;



    public void set(T a){
        this.a = a;
    }

    public T get(){
        return a;
    }

    public static void main(String[] args) {
        Holder3<String> h3 = new Holder3<>();
        h3.set("sss");
        String s = h3.get();

    }
}
